package com.zhaotianhao.springboot_demo_fire;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Author Z-7
 * @Date 2022/3/22
 */
@EnableScheduling
@SpringBootApplication
public class FireApplication extends SpringBootServletInitializer {
    static {
        System.setProperty("es.set.netty.runtime.available.processors", "false");
    }
    public static void main(String[] args) {
        SpringApplication.run(FireApplication.class,args);
    }
}
